<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/views/_include.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>all_user</title>
</head>
<body>
<h1>all_user</h1>
<%--list all user--%>
<table border="1">
    <tr>
        <th>id</th>
        <th>type</th>
        <th>name</th>
        <th>password</th>
        <th>sex</th>
        <th>reg time</th>
    </tr>
    <c:forEach items="${userList}" var="aUser">
        <tr>
            <td><c:out value="${aUser.userId}"/></td>
            <td><c:out value="${aUser.userType}"/></td>
            <td><c:out value="${aUser.name}"/></td>
            <td><c:out value="${aUser.password}"/></td>
            <td><c:out value="${aUser.sex}"/></td>
            <td><c:out value="${aUser.regTime}"/></td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
